﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace SichuanInspection
{
    [DataContract(Name ="妙展科技")]
    class Config
    {
        [DataMember(Name = "窗口高度", Order = 0)]
        public int Window_Height { get; set; }

        [DataMember(Name = "窗口宽度", Order = 1)]
        public int Window_Width { get; set; }

        [DataMember(Name ="窗口X轴缩放",Order=2)]
        public double Window_ScaleX { get; set; }

        [DataMember(Name = "窗口Y轴缩放", Order = 3)]
        public double Window_ScaleY { get; set; }

        [DataMember(Name ="窗口左外边距",Order =4)]
        public int Wondow_MarginLeft {  get; set; }

        [DataMember(Name ="窗口顶部外边距",Order =5)]
        public int Wondow_MarginTop { get; set; }

        [DataMember(Name = "轮播图文件根目录", Order = 6)]
        public string SwiperImageFolder { get; set; }

        [DataMember(Name = "轮播图间隔秒数", Order = 7)]
        public int SwiperChangeSecond { get; set; }
        /// <summary>
        /// 全省检察系统先进个人
        /// </summary>
        [DataMember(Name ="全省检察系统先进个人",Order =8)]
        public AdvancedIndividual Individual { get; set; } = new AdvancedIndividual();
        /// <summary>
        /// 全省检察系统先进集体
        /// </summary>
        [DataMember(Name = "全省检察系统先进集体",Order =9)]
        public AdvancedCollectives Collectives { get; set; } = new AdvancedCollectives();
        /// <summary>
        /// 检察业务专家与竞赛荣誉
        /// </summary>
        [DataMember(Name = "检察业务专家与竞赛荣誉",Order =10)]
        public Experts_Honors Experts_Honors { get; set; } = new Experts_Honors();
        /// <summary>
        /// 英模代表
        /// </summary>
        [DataMember(Name = "英模代表", Order = 11)]
        public HeroicModelRepresentatives HeroicModel { get; set; } = new HeroicModelRepresentatives();

        [DataMember(Name ="目标IP地址",Order =12)]
        public string ipAddress { get; set; }

        [DataMember(Name ="目标端口",Order =13)]
        public int port { get; set; }

        [DataMember(Name ="本应用端口",Order =14)]
        public int loaclPort { get; set; }
        
        [DataMember(Name ="首页图片",Order =15)]
        public string HomeImagePath {  get; set; }
    }
}
